package DailyPractice.Day8;

import java.util.Scanner;

/**
 * 最小公倍数
 * @author lumin
 * @date 2022/04/28 15:10
 **/
public class Num2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int sum = a * b;
        int i = Math.max(a,b);
        while(i <= sum){
            if(i % a == 0 && i % b == 0){
                System.out.println(i);
                break;
            }
            i++;
        }
    }
}